import {KuiSpinProps} from './type';
import {PropType} from 'vue';

export default {
	/**
	 * 动画类型
	 */
	type: {
		type: String as PropType<KuiSpinProps['type']>,
		default: 'circle-dot' as KuiSpinProps['type']
	},
	/**
	 * 大小
	 */
	size: {
		type: String as PropType<KuiSpinProps['size']>,
		default: 'base' as KuiSpinProps['size']
	},
	/**
	 * 背景色
	 */
	backgroundColor: {
		type: String,
		default: ''
	},
	/**
	 * 动画速度
	 */
	speed: {
		type: String as PropType<KuiSpinProps['speed']>,
		default: 'base' as KuiSpinProps['speed']
	},
	/**
	 * 缩放系数
	 */
	scale: {
		type: Number,
		default: 0
	},
	/**
	 * 宽度
	 */
	width: {
		type: Number,
		default: 80
	},
	/**
	 * 高度
	 */
	height: {
		type: Number,
		default: 80
	},
	/**
	 * 主题
	 */
	theme: {
		type: String as PropType<KuiSpinProps['theme']>,
		default: '' as KuiSpinProps['theme']
	}
}